<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录注册</title>
    <link rel="icon" href="./images/touxiang.jpg">
    <link rel="stylesheet" href="./css/denglu.css">
</head>

<body>
    <div class="centerbox">
        <h1>登录</h1>
        <div class="inputbox">
            <label>
                <div class="zhanghao">
                    <p>账号：</p><input type="text" placeholder="请输入账号/邮箱/手机号">
                </div>
                <div class="mima">
                    <P>密码：</P><input type="password" placeholder="请输入密码">
                </div>
            </label>
        </div>
        <div class="submitbox">
            <input id="ainput" type="button" value="登录" onclick="but()">
            <a href="./zhuce.html">注册</a>
        </div>
    </div>
</body>
<script>
    function but(){
        alert('登录成功');
    }
</script>
</html>